package com.china08.yxyapi.entity.db.questionbank;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.persistence.UniqueConstraint;

import com.china08.yxyapi.entity.BaseEntityNoId;

@Entity
@Table(name = "yxy_quesbank_knowlege_rel_foundation_knowlege", catalog = "yxy_question_bank", uniqueConstraints = {
        @UniqueConstraint(columnNames = { "know_id", "foundation_know_id" }) })
public class YxyQuesbankKnowlegeRelFoundationKnowlege extends BaseEntityNoId {

    private static final long serialVersionUID = 1002416080670896075L;

    @Id
    @Column
    private int id;

    @Column(name = "know_id")
    private String knowId;

    @Column(name = "foundation_know_id")
    private String foundationKnowId;

    public String getKnowId() {
        return knowId;
    }

    public void setKnowId(String knowId) {
        this.knowId = knowId;
    }

    public String getFoundationKnowId() {
        return foundationKnowId;
    }

    public void setFoundationKnowId(String foundationKnowId) {
        this.foundationKnowId = foundationKnowId;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

}
